#ifndef LINE_STRIP_H
#define LINE_STRIP_H

#include "d3dUtil.h"



class LineStrip
{
public:
	LineStrip() :
	  mNumVertices(0), mNumIndices(0), md3dDevice(0), mVB(0), mIB(0) 
	{
	}
	virtual ~LineStrip()
	{
		ReleaseCOM(mVB);
		ReleaseCOM(mIB);
	}

	void init(ID3D10Device *device, float scale);
	void draw();

private:
	DWORD mNumVertices;
	DWORD mNumIndices;

	ID3D10Device	*md3dDevice;
	ID3D10Buffer	*mVB;
	ID3D10Buffer	*mIB;
};



#endif //POINT_LIST
